<?php
	//CREATE SEARCH AREA
	$ssFilter 			= $view->arrParam['ssFilter'];
	$keywords 			= $view->formText('keywords',$ssFilter['keywords'],array('class'=>'keyword','placeholder'=>'Tìm kiếm tin tức'));
	
	$urlOptions = array('module'=>'news','controller'=>'index',
										'action'=>'index',
										'type'=>'timkiem');
	$linkSearch = $view->url($urlOptions,'news-search');
	
	$btnSearch 			= $view->formSubmit('search-now',null,
									array('class'=>'btn-keyword'));
	$linkResetSearch 	= $view->baseUrl($view->currentController . '/filter/type/search/key/0');							
	$btnResetSearch 	= $view->formSubmit('clear-keywords',$view->translate('Clear'),
									array('onclick'=>"OnSubmitForm('" . $linkResetSearch . "')"));	
	$strSearch			= $keywords . ' ' . $btnSearch;
?>

<div class="search float-right">
	<form name="appForm" method="post" action="<?php echo $linkSearch?>">
		<?php echo $strSearch?>
	</form>
</div>
